package com.alex.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置ZuulFilter configure
 */
@Configuration
public class ZuulFilterConfig {

    @Bean
    public AuthFilter authFilter() {
        return new AuthFilter();
    }

    @Bean LimitFilter limitFilter() {
        return new LimitFilter();
    }

    @Bean
    public DownGradeFilter downGradeFilter() {
        return new DownGradeFilter();
    }
}
